package com.wanmait.hr.service.Impl;

import com.wanmait.hr.mapper.ConfigMapper;
import com.wanmait.hr.service.ConfigService;
import com.wanmait.hr.vo.Config;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**ConfigServiceImpl class
 *
 * @author 公用
 * @date 2019-02-10
 * */
@Service
public class ConfigServiceImpl implements ConfigService {
    @Resource
    private ConfigMapper configMapper;

    /**读取config表中每页显示的信息条数_王志斌
     * @param key
     * @return Config configInfoByKey
     * */
    @Override
    public Config configInfoByKey(String key) {
        return configMapper.configInfoByKey(key);
    }
}
